﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OPCDiffCore.Text
{
    public sealed class InternalLineChange
    {
        public DiffType DiffType { get; private set; }

        public int Start { get; private set; }

        public int End { get; private set; }

        public string ContentOriginal { get; private set; }

        public string ContentDiff { get; private set; }

        public InternalLineChange(int start, int end, DiffType diffType, string originalText, string finalText)
        {
            this.Start = start;
            this.End = end;
            this.DiffType = diffType;
            this.ContentOriginal = originalText;
            this.ContentDiff = finalText;
        }
    }
}
